/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="ESTADIO")
public class EstadioProteu implements Serializable{

    @Id
    @Column(name="ESTADIO_CODIGO")
    private String estadioCodigo;
    @Column(name="COD_SISTEM")
    private Double codSistem;
    @Column(name="TNMG")
    private String tnmg;
    @Column(name="ESP_TNMG")
    private String espTnmg;
    @Column(name="DES_TNMG")
    private String desTnmg;


    public Double getCodSistem() {
        return codSistem;
    }

    public void setCodSistem(Double codSistem) {
        this.codSistem = codSistem;
    }

    public String getDesTnmg() {
        return desTnmg;
    }

    public void setDesTnmg(String desTnmg) {
        this.desTnmg = desTnmg;
    }

    public String getEspTnmg() {
        return espTnmg;
    }

    public void setEspTnmg(String espTnmg) {
        this.espTnmg = espTnmg;
    }

    public String getEstadioCodigo() {
        return estadioCodigo;
    }

    public void setEstadioCodigo(String estadioCodigo) {
        this.estadioCodigo = estadioCodigo;
    }

    public String getTnmg() {
        return tnmg;
    }

    public void setTnmg(String tnmg) {
        this.tnmg = tnmg;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final EstadioProteu other = (EstadioProteu) obj;
        if ((this.estadioCodigo == null) ? (other.estadioCodigo != null) : !this.estadioCodigo.equals(other.estadioCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 97 * hash + (this.estadioCodigo != null ? this.estadioCodigo.hashCode() : 0);
        return hash;
    }



}
